package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Dictionaries;
import cn.wolfcode.crm.domain.DictionariesItem;
import cn.wolfcode.crm.query.DictionariesQuery;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IDictionariesService {
    void saveOrUpdate(Dictionaries entity);

    void delete(Long id);

    Dictionaries get(Long id);

    List<Dictionaries> listAll();

    PageResult query(QueryObject qo);

    List<DictionariesItem> selectItemName(String str);
}
